package com.lian.pet.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 疫苗信息
 * @author
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pet_vaccines")
public class PetVaccines {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 宠物ID
     */
    private Integer petId;

    /**
     * 疫苗名称
     */
    private String vaccines;

    /**
     * 接种时间
     */
    private Date vaccinationTime;

    /**
     * 0-正常 1-删除
     */
    @TableLogic(value = "0", delval = "1")
    private String isDeleted;
}
